package com.mybatisflex.example.controller.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * <p> 行政区 </p>
 *
 * @author tanyunpeng
 * @date 2021/12/10
 */
@Data
public class DistrictRsp {

    @Schema(description = "区域编码")
    private Integer code;

    @Schema(description = "行政区名称")
    private String name;

    @Schema(description = "区域中心点")
    private String center;

    @Schema(description = "拼音首字母")
    private String pinyin;

    @Schema(description = "行政区划级别")
    private Integer level;

    @Schema(description = "下级行政区列表")
    private List<DistrictRsp> districts;


}
